﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = EnergyTransferers
		Size                           = Medium
		Module                         = avit-microfloss medium energy transferer prototype
		CpuUsage                       = 45.00 TF
		ReactorUsage                   = 152.00 RP
		Type                           = Active
		Slot                           = Other
		TechnologicalLevel             = T3P
		Mass                           = 375.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorConsumption         = 23.00 AP
		CycleTime                      = 10.00 sec
		OptimalRange                   = 300 m
		TransferedEnergy               = 225 AP
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Avit-Microfloss medium energy transferer prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class AvitMicroflossMediumEnergyTransfererPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="AvitMicroflossMediumEnergyTransfererPrototype"/> class.
        /// </summary>
        public AvitMicroflossMediumEnergyTransfererPrototype()
            : base(
            "Avit-Microfloss medium energy transferer prototype",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.EnergyTransferers,
            TechnologyLevelsEnum.Level3|TechnologyLevelsEnum.Prototype,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),45.00),
				new LazyFeature(typeof(ReactorUsage<double>),152.00),
				new LazyFeature(typeof(ModuleMass<double>),375.00),
				new LazyFeature(typeof(EnergyTransfererAccumulatorUsage<double>),23.00),
				new LazyFeature(typeof(EnergyTransfererCycleTime<double>),10.00),
				new LazyFeature(typeof(EnergyTransfererOptimal<double>),300),
				new LazyFeature(typeof(EnergyTransfererTransferedEnergy<double>),225), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 375.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Chassis; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Misc; }
        }
    }
}